package com.yehuishou.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yehuishou.pojo.AssemblyPartsList;
import com.yehuishou.pojo.BackOrder;
import com.yehuishou.pojo.Parts;
import com.yehuishou.pojo.User;
import com.yehuishou.pojo.Version;

//配件更换记录的接口
public interface PartsDao {
      List<Parts> get(Parts parts );
      
      int delete(int pid);
      
      void insert(Parts parts);
      
      List<Parts> getProcessor();
      
      List<String> getPhone();
      
      List<Parts> getUid(String phone);
      
      List<Version> getProcessor_version(Integer xid);
      
      List<Version> getMemory_version();
      
      List<Version> getMainboard_version();
      
      List<Version> getVideo_card_version();
      
      int deleteStore(Integer sid);
      
      void updatePrice1(Parts parts);
      
      List<AssemblyPartsList> getList(AssemblyPartsList assemblyPartsList );
      
      void insertPart(AssemblyPartsList assemblyPartsList );
      
      int deletesPart(AssemblyPartsList assemblyPartsList);
      
      void deleteP(Integer [] gids);
	
}
